package com.yzc.service.Impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.yzc.mapper.InventoryLogMapper;
import com.yzc.model.entity.log.InventoryLog;
import com.yzc.service.InventoryLogService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class InventoryLogServiceImpl extends ServiceImpl<InventoryLogMapper, InventoryLog>
        implements InventoryLogService {

    @Autowired
    private InventoryLogMapper mapper;

    @Override
    public Boolean creatInventoryLog(InventoryLog inventoryLog) {
        mapper.insert(inventoryLog);
        return true;
    }

}
